/*
 * Interp.h
 *
 *  Created on: 2011-7-24
 *      Author: apple
 */

#ifndef INTERP_H_
#define INTERP_H_

void dvmInterpret(Thread* thread, const Method* method, JValue* pResult);
/*
 * Breakpoint optimization table.
 */
void dvmInitBreakpoints();
void dvmAddBreakAddr(Method* method, int instrOffset);
void dvmClearBreakAddr(Method* method, int instrOffset);
bool dvmAddSingleStep(Thread* thread, int size, int depth);
void dvmClearSingleStep(Thread* thread);

#endif /* INTERP_H_ */
